package org.darkforest.model;

public class OrderCommon {
    private Integer orderId;

    private Integer storeId;

    private Integer shippingTime;

    private Integer shippingExpressId;

    private Integer evaluationTime;

    private String evaluationTimeDes;

    private String evalsellerState;

    private Integer evalsellerTime;

    private String orderMessage;

    private Integer orderPointscount;

    private Integer voucherPrice;

    private String voucherCode;

    private Integer daddressId;

    private String reciverName;

    private String reciverInfo;

    private Integer reciverProvinceId;
    
    private Integer reciverCityId;

    private String invoiceInfo;

    private String promotionInfo;

    private String deliverExplain;

    private Integer postType;//1直接配送 2礼品码配送

    private Integer payType;//1 微信支付 2余额支付 3领取

    private Integer codeNum;//礼品码数量

    private String giftCode;//使用的礼品码

    private String giftPackage; //自定义包装

    private String giftCart; //自定义卡片

    private String giftDistribution; //自定义配送项

    private String customPostTime;//自定义收货时间

    private String postTypeInfo; //配送方式信息

    private String shippingExpressName;   // 快递公司


    public String getCustomPostTime() {
        return customPostTime;
    }
    public void setCustomPostTime(String customPostTime) {
        this.customPostTime = customPostTime;
    }

    public String getGiftPackage() {
        return giftPackage;
    }
    public void setGiftPackage(String giftPackage) {
        this.giftPackage = giftPackage;
    }

    public String getGiftCart() {
        return giftCart;
    }
    public void setGiftCart(String giftCart) {
        this.giftCart = giftCart;
    }

    public String getGiftDistribution() {
        return giftDistribution;
    }
    public void setGiftDistribution(String giftDistribution) {
        this.giftDistribution = giftDistribution;
    }

    public Integer getPostType() {
        return postType;
    }
    public void setPostType(Integer postType) {
        this.postType = postType;
    }

    public Integer getPayType() {
        return payType;
    }
    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Integer getCodeNum() {
        return codeNum;
    }
    public void setCodeNum(Integer codeNum) {
        this.codeNum = codeNum;
    }

    public String getGiftCode() {
        return giftCode;
    }
    public void setGiftCode(String giftCode) {
        this.giftCode = giftCode;
    }

    public String getEvaluationTimeDes() {
        return evaluationTimeDes;
    }
    public void setEvaluationTimeDes(String evaluationTimeDes) {
        this.evaluationTimeDes = evaluationTimeDes;
    }

    public Integer getOrderId() {
        return orderId;
    }
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getStoreId() {
        return storeId;
    }
    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Integer getShippingTime() {
        return shippingTime;
    }
    public void setShippingTime(Integer shippingTime) {
        this.shippingTime = shippingTime;
    }

    public Integer getShippingExpressId() {
        return shippingExpressId;
    }
    public void setShippingExpressId(Integer shippingExpressId) {
        this.shippingExpressId = shippingExpressId;
    }

    public Integer getEvaluationTime() {
        return evaluationTime;
    }
    public void setEvaluationTime(Integer evaluationTime) {
        this.evaluationTime = evaluationTime;
    }

    public String getEvalsellerState() {
        return evalsellerState;
    }
    public void setEvalsellerState(String evalsellerState) {
        this.evalsellerState = evalsellerState == null ? null : evalsellerState.trim();
    }

    public Integer getEvalsellerTime() {
        return evalsellerTime;
    }
    public void setEvalsellerTime(Integer evalsellerTime) {
        this.evalsellerTime = evalsellerTime;
    }

    public String getOrderMessage() {
        return orderMessage;
    }
    public void setOrderMessage(String orderMessage) {
        this.orderMessage = orderMessage == null ? null : orderMessage.trim();
    }

    public Integer getOrderPointscount() {
        return orderPointscount;
    }
    public void setOrderPointscount(Integer orderPointscount) {
        this.orderPointscount = orderPointscount;
    }

    public Integer getVoucherPrice() {
        return voucherPrice;
    }
    public void setVoucherPrice(Integer voucherPrice) {
        this.voucherPrice = voucherPrice;
    }

    public String getVoucherCode() {
        return voucherCode;
    }
    public void setVoucherCode(String voucherCode) {
        this.voucherCode = voucherCode == null ? null : voucherCode.trim();
    }

    public Integer getDaddressId() {
        return daddressId;
    }
    public void setDaddressId(Integer daddressId) {
        this.daddressId = daddressId;
    }

    public String getReciverName() {
        return reciverName;
    }
    public void setReciverName(String reciverName) {
        this.reciverName = reciverName == null ? null : reciverName.trim();
    }

    public String getReciverInfo() {
        return reciverInfo;
    }
    public void setReciverInfo(String reciverInfo) {
        this.reciverInfo = reciverInfo == null ? null : reciverInfo.trim();
    }

    public Integer getReciverProvinceId() {
        return reciverProvinceId;
    }
    public void setReciverProvinceId(Integer reciverProvinceId) {
        this.reciverProvinceId = reciverProvinceId;
    }

    public String getInvoiceInfo() {
        return invoiceInfo;
    }
    public void setInvoiceInfo(String invoiceInfo) {
        this.invoiceInfo = invoiceInfo == null ? null : invoiceInfo.trim();
    }

    public String getPromotionInfo() {
        return promotionInfo;
    }

    public void setPromotionInfo(String promotionInfo) {
        this.promotionInfo = promotionInfo == null ? null : promotionInfo.trim();
    }

    public String getDeliverExplain() {
        return deliverExplain;
    }
    public void setDeliverExplain(String deliverExplain) {
        this.deliverExplain = deliverExplain == null ? null : deliverExplain.trim();
    }

	public Integer getReciverCityId() {
		return reciverCityId;
	}
	public void setReciverCityId(Integer reciverCityId) {
		this.reciverCityId = reciverCityId;
	}


    public String getPostTypeInfo() {
        String info="";
        if(this.postType!=null){
            if(this.postType == 1){
                info="直接配送";
            }else if(this.postType == 2){
                info="礼品码配送";
            }
        }
        return info;
    }

    public void setPostTypeInfo(String postTypeInfo) {
        this.postTypeInfo = postTypeInfo;
    }

    public String getShippingExpressName() {
        return shippingExpressName;
    }
    public void setShippingExpressName(String shippingExpressName) {
        this.shippingExpressName = shippingExpressName;
    }
}